﻿@model System.Int32
@using Telerik.Web.Mvc.UI;
@using Telerik.Web.Mvc;

@(Html.Telerik().ComboBox()
    .Name(ViewData.TemplateInfo.GetFullHtmlFieldName(string.Empty))
    .AutoFill(true)
    .Value(Model.ToString())
    .DataBinding(binding => binding.Ajax().Select("_AjaxLoadingParent", "Main"))
    .Filterable(filtering =>
    {
        filtering.FilterMode(AutoCompleteFilterMode.StartsWith);
    })
    .HighlightFirstMatch(true)
)
